package com.czh.subject.infra.basic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.czh.subject.infra.basic.entity.SubjectJudge;
import java.util.List;

/**
 * 判断题(SubjectJudge)表服务接口
 *
 * @author caozaihui
 * @since 2024-07-31 14:36:44
 */
public interface SubjectJudgeService extends IService<SubjectJudge> {

    /** 
     * 
     * @param id 主键
     * @author caozaihui  
     * @description  通过ID查询单条数据
     * @date 2024-07-31 14:36:44
     * @return 实例对象
     */
    public SubjectJudge selectSubjectJudgeById (Long id);
        
    /** 
     * 
     * @param subjectJudge 实例对象
     * @author caozaihui  
     * @description 分页查询数据
     * @date 2024-07-31 14:36:44
     * @return 实例对象
     */
    public List<SubjectJudge> querySubjectJudgeList (SubjectJudge subjectJudge);
    
    
   /** 
     * 
     * @param subjectJudge 实例对象
     * @author caozaihui  
     * @description  新增数据
     * @date 2024-07-31 14:36:44
     * @return 实例对象
     */
    public int insert(SubjectJudge subjectJudge);
    
   /** 
     * 
     * @param subjectJudge 实例对象
     * @author caozaihui  
     * @description 修改数据并返回
     * @date 2024-07-31 14:36:44
     * @return 实例对象
     */
    public int update(SubjectJudge subjectJudge);
    
    
    /**
     *
     * @param ids 主键
     * @author caozaihui 
     * @description  通过主键删除数据
     * @date 2024-07-31 14:36:44
     * @return
     */
    public int deleteByIds(List<Long> ids);
}

